/*
 *  Copyright 2012 Dirk Vranckaert
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package eu.vranckaert.vvl.utils.context;

import eu.vranckaert.vvl.model.TrafficInfoGraphicalEnum;

import java.util.Calendar;

/**
 * User: DIRK VRANCKAERT
 * Date: 17/02/12
 * Time: 13:59
 */
public class Constants {
    public static final String LIST_SEPERATOR = "-";
    public static final int SHARE_TEXT_MAX_LENGTH = 140;

    public class Preferences {
        public static final String PREFERENCES_NAME = "verkeerscentrumBE_6890492";

        public class Keys {
            public static final String SELECTED_TEXT_INFORMATION_TYPES = "selectedTextInformationTypes";
            public static final String SELECTED_TEXT_REGIONS = "selectedTextRegions";
            public static final String SELECTED_TEXT_HIGHROADS = "selectedTextHighroads";
            public static final String SELECTED_TEXT_SECONDARY_ROADS = "selectedTextSecondaryRoads";
            public static final String SELECTED_GRAPHICAL_REGION = "selectedGraphicalRegion";
            public static final String ALARM_REQUEST_CODE = "alarmRequestCode";
            public static final String SAVED_ALARMS = "savedAlarms";
            public static final String TRAFFIC_INFO_GRAPHICAL_IMAGE_SIZE = "trafficInfoGraphicalImageSize";
        }

        public class DefaultValues {
            public static final String SELECTED_TEXT_HIGHROADS = "";
            public static final String SELECTED_TEXT_SECONDARY_ROADS = "";
            public static final String SELECTED_GRAPHICAL_REGION = "vlaanderen";
            public static final int ALARM_REQUEST_CODE = 0;
            public static final String SAVED_ALARMS = "";
            public static final String TRAFFIC_INFO_GRAPHICAL_IMAGE_SIZE = "SMALL";
        }
    }
    
    public class ContentMenuItems {
        public static final int SHARE = 0;
        public static final int DELETE = 1;
    }
    
    public class Extra {
        public static final String REGION = "region";
        public static final String INFORMATION_TYPES = "informationTypes";
        public static final String REGIONS = "regions";
        public static final String HIGHROADS = "highroads";
        public static final String SECONDARY_ROADS = "secondaryRoads";
    }

    public enum WeekDays {
        MONDAY(Calendar.MONDAY),
        TUESDAY(Calendar.TUESDAY),
        WEDNESDAY(Calendar.WEDNESDAY),
        THURSDAY(Calendar.THURSDAY),
        FRIDAY(Calendar.FRIDAY),
        SATURDAY(Calendar.SATURDAY),
        SUNDAY(Calendar.SUNDAY);
        
        private int weekDay;
        
        WeekDays(int weekDay) {
            this.weekDay = weekDay;
        }
        
        public int getWeekDay() {
            return weekDay;
        }
    }

    public class Time {
        public static final long ONE_MINUTE_MS = 60000;
    }
}
